#include <stdio.h>

/*#ifdef __cplusplus
extern "C" {
#endif*/
    extern int sum(int a, int b);
/*#ifdef __cplusplus
}
#endif*/

int main ()
{
    printf ("sum(%d, %d) = %d\n", 2, 2, sum(2, 2));
    printf ("sum(%d, %d) = %d\n", -1, 1, sum(-1, 1));
    printf ("sum(%d, %d) = %d\n", 0x7FFFFFFF, 1, sum(0x7FFFFFFF, 1));
    return 0;
}
